package com.nchu.ft.common.storage.config;


import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.context.annotation.Configuration;

/**
 * @className: MinioProperties
 * @description: Minio参数配置类
 * @author: Li Chuanwei
 * @date: 2024/01/26 9:13
 * @Company: Copyright [日期] by [作者或个人]
 **/

@Configuration
@ConfigurationProperties(prefix = "storage.config.minio")
@Data
public class MinioProperties {
    /**
     * minio的Url
     */
    private String url;

    /**
     * 账户名
     */
    private String username;

    /**
     * 密码
     */
    private String password;

    /**
     * 桶名
     */
    private String bucketName;
}
